package org.xiaov.codeautocreator.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.xiaov.codeautocreator.common.request.TableListRequest;
import org.xiaov.codeautocreator.entity.TableEntity;

import java.util.List;

/**
 * <p>
 * 描述：
 * </p>
 *
 * @author xiaovcloud
 * @since 2021/9/5 21:21
 */
public interface CodeAutoCreatorService {
	/**
	 * 查询所有的表结构
	 * @param request
	 * @return
	 */
	List<TableEntity> queryList(TableListRequest request);

	/**
	 * 生成代码
	 * @param tables
	 * @return
	 */
	boolean autocode(String[] tables);
}
